import wx

import resource.string.menu.image.file as r
import resource.toolbar as rTool

class File(wx.Menu):
    """File menu"""
    
    def __init__(self, *args, **kwargs):
        wx.Menu.__init__(self, *args, **kwargs)
        
        self.load = wx.MenuItem(self, -1, r.load.label, r.load.help)
        self.load.Bitmap = rTool.FolderOpenImage.Bitmap
        self.load.Enable(False)
        self.AppendItem(self.load)

        self.invite = wx.MenuItem(self, -1, r.invite.label, r.invite.help)
        self.invite.Bitmap = rTool.ImageImport.Bitmap
        self.invite.Enable(False)
        self.AppendItem(self.invite)
        
        self.AppendSeparator()
        
        self.add = wx.MenuItem(self, -1, r.add.label, r.add.help)
        self.add.Bitmap = rTool.ImagePlus.Bitmap
        self.add.Enable(False)
        self.AppendItem(self.add)
